package com.dubbo;

import java.sql.*;

/**
 * @author caoqianhuan
 * @date 2022/9/20
 * @Description:
 */
public class SPIExample {
    public static void main(String[] args) throws ClassNotFoundException {
        //Class.forName("com.mysql.cj.jdbc.Driver");
        String url = "jdbc:mysql://localhost:3306/db_chat";
        String username = "root";
        String password = "1234";
        try {
            Connection connection = DriverManager.getConnection(url, username, password);
            Statement statement = connection.createStatement();
            statement.execute("");

        } catch (SQLException e) {
            throw new RuntimeException(e);
        }


    }
}
